package com.study.common.security;

/**
 * 异步消息返回码
 * @author dingyaming
 *
 */
public class BaseRes {
	/**
	 * 状态码
	 */
	private String code=EnumCode.error.name();
	/**
	 * 消息
	 */
	private String msg;
	
	/**
	 * 返回地址
	 */
	private String rurl;
	
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getRurl() {
		return rurl;
	}
	public void setRurl(String rurl) {
		this.rurl = rurl;
	}
	public void setCode(EnumCode code) {
		if(code!=null){
			this.code = code.name();
		}
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
}
